package org.seedltd.upms.model.sys.form;

import com.baomidou.mybatisplus.annotation.OrderBy;
import lombok.Getter;
import lombok.Setter;
import org.seedltd.base.annotation.Like;
import org.seedltd.base.annotation.LikeType;
import org.seedltd.core.base.BaseSearchForm;

import java.util.Date;

/**
 * 字典类型列表搜索条件
 * 
 * @author laizuan
 * @since 2021/09/01
 */
@Getter
@Setter
public class SysDictTypeSearchForm extends BaseSearchForm {

    /**
     * 字典类型代码
     */
    @Like(likeType = LikeType.left)
    private String dictType;

    /**
     * 字典类型描述
     */
    @Like(likeType = LikeType.full)
    private String dictDesc;

    /**
     * 排序
     */
    @OrderBy(sort = 1)
    private Integer sortNo;

    /**
     * 创建时间
     */
    @OrderBy(sort = 2)
    private Date createTime;

}
